namespace Ellwood.Manage.Common.Core.Basis.Entity;

/// <summary>
/// 实体基类约束
/// </summary>
public abstract class BaseEntity
{
    /// <summary>
    /// 用户状态 0正常 1冻结 2删除
    /// </summary>
    public int Status { get; set; }
    
    /// <summary>
    /// 删除标识符 0正常 1删除
    /// </summary>
    public int DeleteFlag { get; set; }
    
    /// <summary>
    /// 创建者
    /// </summary>
    public int? CreateUserId { get; set; } = 7;
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 修改者
    /// </summary>
    public int? UpdateUserId { get; set; } = 7;
    
    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; } = DateTime.Now;
    
}